package com.project.service;

import com.project.dto.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 客户远程调用接口
 *
 * @author zhangyang
 * @since 2021-10-06
 */
@FeignClient(name = "UserSys")
public interface ICustomRemoteService {
    /**
     * 远程调用客户系统查询客户集合
     *
     * @return 客户集合
     */
    @GetMapping("/remote/findAllUser")
    List<UserDto> findAllByRemote();
}
